<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>附近的人</title>
    <script src="js/jquery-3.5.1.min.js"></script>
    <link href="layui-v2.6.4/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="layui-v2.6.4/layui/css/modules/code.css" rel="stylesheet" type="text/css"/>
    <script charset="utf-8" src="layui-v2.6.4/layui/layui.js" type="text/javascript"></script>
    <script type="text/javascript">
        layui.use('element', function () {
            var element = layui.element;
        });
    </script>
</head>
<body>
<div class="div_top" th:replace="include/top"></div>
<div class="layui-container">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;border-color: #3e0656;">
        <legend>附近的人</legend>
    </fieldset>
    <div class="">
        <a class="layui-btn layui-btn-sm layui-btn-normal" id="addJW">还没有位置?点击设置</a>
    </div>
    <hr>
    <div id="rongqi">
        <h1>您还没有设置位置哦,点击上方设置~</h1>
    </div>
</div>
</body>
<script type="text/javascript">
    layui.use(['layer', 'table', "laypage", "jquery"], function () {
        var
            layer = layui.layer //弹层
            ,
            table = layui.table //表格
            ,
            laypage = layui.laypage //分页
            ,
            $ = layui.jquery
        $('#addJW').on("click", function () {
            layer.open({
                type: 2,
                area: ['700px', '450px'],
                fixed: false, //不固定
                maxmin: true,
                content: '/getJWmap',
                end: function () {
                    location.assign("toNearPeopleInfo")
                }
            });
        });
    });
</script>
</html>
